package com.ruoyi.repairs.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 维修记录对象 crm_repairs_record
 *
 * @author hct
 * @date 2022-02-11
 */
public class CrmRepairsRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;
 
    /** 维修状态 */
    @Excel(name = "维修状态")
    private Integer repairStatus;

    /** 维修id */
    @Excel(name = "维修id")
    private Long repairId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
     
    public void setRepairStatus(Integer repairStatus)
    {
        this.repairStatus = repairStatus;
    }

    public Integer getRepairStatus()
    {
        return repairStatus;
    }
    public void setRepairId(Long repairId)
    {
        this.repairId = repairId;
    }

    public Long getRepairId()
    {
        return repairId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("repairStatus", getRepairStatus())
                .append("repairId", getRepairId())
                .append("remark", getRemark())
                .toString();
    }
}
